package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 系统操作日志
 */
@Getter
@Setter
@Document("system_opt_log")
public class SystemOptLog extends EntityBase {
    private Date optTime;
    /**
     * 业务类型,login,logout,export-order,delete-ca-record
     */
    private String bizType;
    private String desc;
    private String optUserName;
    private String ip;
    /**
     * 业务详细信息
     */
    private String detail;
    /**
     * 操作用户真实姓名
     */
    private String optRealName;
    /**
     * SQL 详情
     */
    private String sqlDetai;
}
